<template>
	<div class="view">
		<Carousel autoplay v-model="data.vulue" loop :autoplay-speed="5000" style="width: 100%;height:100%;overflow:hidden">
	        <CarouselItem v-for="(item,index) in data.imgList" :key='index'>
	            <div class="demo-carousel"><img :src="item" alt="" style="width:100%;height: 100%"></div>
	        </CarouselItem>
	    </Carousel>
	</div>
</template>

<script>
	export default {
		props: ['data'],
	}
</script>

<style scoped lang="less">
	.view {
		width: 100%;
		height: 100%;
		overflow: hidden;
	}
</style>